package com.ctshk.rpc.order.goods.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * <p>
 * 取消订单审批流程-入参
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-28
 */
@Data
@ApiModel(value="OrderCancelApprovalProcessReq对象", description="取消订单审批")
public class OrderCancelApprovalProcessReq  implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "目标审批状态不能为空")
    @ApiModelProperty(value = "取消状态：审批状态：1：待提交; 2：审批中;3：审批通过；4：审批未通过")
    private Integer toApprovalStatus;

    @NotNull(message = "当前审批状态不能为空")
    @ApiModelProperty(value = "审批状态：1：待提交；2：审批中；3：s审批通过；4：审批未通过")
    private Integer currentApprovalStatus;

    @NotNull(message = "订单id不能为空")
    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "备注:同意/拒绝理由")
    private String comments;
}
